#define _CRT_SECURE_NO_WARNINGS 1

#include"list.h"
void test1()
{

}
int main()
{
	node* list = nullptr;
	PushBack(list, 1);
	PushBack(list, 2);
	PushBack(list, 3);
	PushBack(list, 4);
	PushBack(list, 5);
	print(list);

	if (Find(list, 5))
	{
		cout << "yes" << endl;
	}
	else
	{
		cout << "no" << endl;
	}
	Destroy(list);

	return 0;
}